<%-- 
    Document   : dologout
    Author     : Mike
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<jsp:useBean id="login" class="login.LoginInfo" scope="session"/>
<%
    login.setUsername(null);
    login.setPassword(null);
    login.setAllNull();
    session.setAttribute( "loggedin_username", null);
    session.setAttribute( "loggedin_email", null);
    session.setAttribute( "loggedin_realname", null);
    session.setAttribute( "statusMessageL", null);

    String redirectURL = (String) session.getAttribute("currentPage");
    
    response.sendRedirect(redirectURL);
%>